package online.yysh.charging.bean;

import java.io.Serializable;

/**
 * 充电枪bean
 */
public class ChargingBean implements Serializable {
    //电站ID
    private int ID;
    //电站号
    private String StationNo;
    //电站名称
    private String Name;
    //经度
    private String Longtitude;
    //纬度
    private String Latitude;
    //距离
    private double Distance;
    //电站枪数量
    private int PortCount;
    //电站空闲枪数量
    private int KXPortCount;

    public int getID() {
        return ID;
    }

    public ChargingBean setID(int ID) {
        this.ID = ID;
        return this;
    }

    public String getStationNo() {
        return StationNo;
    }

    public ChargingBean setStationNo(String stationNo) {
        StationNo = stationNo;
        return this;
    }

    public String getName() {
        return Name;
    }

    public ChargingBean setName(String name) {
        Name = name;
        return this;
    }

    public String getLongtitude() {
        return Longtitude;
    }

    public ChargingBean setLongtitude(String longtitude) {
        Longtitude = longtitude;
        return this;
    }

    public String getLatitude() {
        return Latitude;
    }

    public ChargingBean setLatitude(String latitude) {
        Latitude = latitude;
        return this;
    }

    public double getDistance() {
        return Distance;
    }

    public ChargingBean setDistance(double distance) {
        Distance = distance;
        return this;
    }

    public int getPortCount() {
        return PortCount;
    }

    public ChargingBean setPortCount(int portCount) {
        PortCount = portCount;
        return this;
    }

    public int getKXPortCount() {
        return KXPortCount;
    }

    public ChargingBean setKXPortCount(int KXPortCount) {
        this.KXPortCount = KXPortCount;
        return this;
    }

    @Override
    public String toString() {
        return "ChargingBean{" +
                "ID=" + ID +
                ", StationNo='" + StationNo + '\'' +
                ", Name='" + Name + '\'' +
                ", Longtitude='" + Longtitude + '\'' +
                ", Latitude='" + Latitude + '\'' +
                ", Distance=" + Distance +
                ", PortCount=" + PortCount +
                ", KXPortCount=" + KXPortCount +
                '}';
    }
}
